import request from '@/utils/request'
export function getTempList() {
  return request({
    url: '/file-history/list/temp',
    method: 'get'
  })
}

//删除临时摆渡
export function delFile(data) {
  return request({
    url: '/file-history/temp/remove',
    method: 'post',
    data: data
  })
}

//摆渡历史记录
export function getHistoryList(data) {
  return request({
    url: '/file-history/list',
    method: 'get',
    params: data
  })
}

//数据摆渡
export function moveFiles() {
  return request({
    url: '/file-history/move',
    method: 'get',
  })
}

